﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ProjectCore.Domain.Model.Entity
{
    public class Users
    {
        [Key]
        public int UserID { get; set; }//用户ID

        [StringLength(20)]
        public string UserName { get; set; }//用户名称

        public int Sex { get; set; }//性别

        public int DeleteMark { get; set; }//删除标记

        public int Photo { get; set; }//头像外键

        [StringLength(30)]
        public string Contry { get; set; }//国家

        [StringLength(30)]
        public string Prov { get; set; }//省份

        [StringLength(30)]
        public string City { get; set; }//城市

        public int Sort { get; set; }//排序

        public DateTime CreateTime { get; set; }//创建时间

        [StringLength(200)]
        public string Spare { get; set; }//备用字段
        [NotMapped]
        public bool IsDeleted { get; set; }
    }
}
